package samples.examples.photo_swipe ;

import js.Dom ;
import js.Lib ;

import divtastic.js.DisplayDiv ;
import divtastic.js.GlobalDiv ;
import samples.examples.photo_swipe.application.Controller ;

using divtastic.js.GlobalDiv ;
class PhotoSwipe
{
    
    
    static function main()
    { 
        
        new PhotoSwipe(); 
        
    } 
    
    
    public function new()
    {
        
        var _holder             = new DisplayDiv() ;
        _holder.x               = 300 ;
        _holder.y               = 100 ;
        _holder.width           = 800 ;
        _holder.height          = 600 ;
        
        addChild( _holder ) ;
        new Controller( _holder ) ;
        
    }
    
    
}